#coding=utf-8
import wsgiref.handlers
from google.appengine.ext import webapp
import job

def main():
  application = webapp.WSGIApplication(
                                       [('/update_job', job.Updater),
                                        ('/new_stock', job.NewStock),
                                        ('/update_ts', job.TsUpdater),
                                        
                                        ('/delete', job.Deleter),
                                        ('/update_delete_job', job.DeleteTaskUpdater),
                                        
                                        ('/test', job.Test),
                                        ('/add_job', job.AddJob),
                                       ],
                                       debug=True)
  wsgiref.handlers.CGIHandler().run(application)

if __name__ == "__main__":
  main()
